package com.yaorange.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "house")
public class House {
    @Id
    @Column(name = "house_id")
    private Integer houseId;

    private String area;//面积

    @Column(name = "construct_date")
    private String constructDate;//建造年代

    @Column(name = "decorate_case")
    private String decorateCase;//装修情况

    @Column(name = "land_nature")
    private String landNature;//国土性质

    @Column(name = "place_area")
    private String placeArea;//所在区域

    @Column(name = "place_detail")
    private String placeDetail;//具体门牌号

    @Column(name = "place_premise")
    private String placePremise;//楼盘名称

    @Column(name = "place_street")
    private String placeStreet;//街道

    private String price;//单价

    private String rental;//租金

    private Integer type;//住房类型

    @Column(name = "use_case")
    private String useCase;//使用情况

    @Column(name = "customer_id")
    private Integer customerId;

    /**
     * @return house_id
     */
    public Integer getHouseId() {
        return houseId;
    }

    /**
     * @param houseId
     */
    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    /**
     * @return area
     */
    public String getArea() {
        return area;
    }

    /**
     * @param area
     */
    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    /**
     * @return construct_date
     */
    public String getConstructDate() {
        return constructDate;
    }

    /**
     * @param constructDate
     */
    public void setConstructDate(String constructDate) {
        this.constructDate = constructDate == null ? null : constructDate.trim();
    }

    /**
     * @return decorate_case
     */
    public String getDecorateCase() {
        return decorateCase;
    }

    /**
     * @param decorateCase
     */
    public void setDecorateCase(String decorateCase) {
        this.decorateCase = decorateCase == null ? null : decorateCase.trim();
    }

    /**
     * @return land_nature
     */
    public String getLandNature() {
        return landNature;
    }

    /**
     * @param landNature
     */
    public void setLandNature(String landNature) {
        this.landNature = landNature == null ? null : landNature.trim();
    }

    /**
     * @return place_area
     */
    public String getPlaceArea() {
        return placeArea;
    }

    /**
     * @param placeArea
     */
    public void setPlaceArea(String placeArea) {
        this.placeArea = placeArea == null ? null : placeArea.trim();
    }

    /**
     * @return place_detail
     */
    public String getPlaceDetail() {
        return placeDetail;
    }

    /**
     * @param placeDetail
     */
    public void setPlaceDetail(String placeDetail) {
        this.placeDetail = placeDetail == null ? null : placeDetail.trim();
    }

    /**
     * @return place_premise
     */
    public String getPlacePremise() {
        return placePremise;
    }

    /**
     * @param placePremise
     */
    public void setPlacePremise(String placePremise) {
        this.placePremise = placePremise == null ? null : placePremise.trim();
    }

    /**
     * @return place_street
     */
    public String getPlaceStreet() {
        return placeStreet;
    }

    /**
     * @param placeStreet
     */
    public void setPlaceStreet(String placeStreet) {
        this.placeStreet = placeStreet == null ? null : placeStreet.trim();
    }

    /**
     * @return price
     */
    public String getPrice() {
        return price;
    }

    /**
     * @param price
     */
    public void setPrice(String price) {
        this.price = price == null ? null : price.trim();
    }

    /**
     * @return rental
     */
    public String getRental() {
        return rental;
    }

    /**
     * @param rental
     */
    public void setRental(String rental) {
        this.rental = rental == null ? null : rental.trim();
    }

    /**
     * @return type
     */
    public Integer getType() {
        return type;
    }

    /**
     * @param type
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * @return use_case
     */
    public String getUseCase() {
        return useCase;
    }

    /**
     * @param useCase
     */
    public void setUseCase(String useCase) {
        this.useCase = useCase == null ? null : useCase.trim();
    }

    /**
     * @return customer_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
}
